<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../share/taglib.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>书籍管理-列表</title>
<jsp:include page="../layout/_include.jsp" />

</head>
<body>
<div id="body-wrapper">
  <!-- Wrapper for the radial gradient background and left menu-->
  <!-- left_menu -->
  <jsp:include page="left_menu.jsp" />
  <div id="main-content">
    <!-- Main Content Section with everything -->
    <!-- right head -->
    <jsp:include page="../layout/right_head.jsp" />
	<!-- End .clear -->
    <div class="clear"></div>
    <div class="content-box">
      <!-- Start Content Box -->
      <div class="content-box-header">
        <h3>书籍添加</h3>
        <div class="clear"></div>
      </div>
      <!-- End .content-box-header -->
      <div class="content-box-content">
        <div class="tab-content default-tab">
        
          <form id="bookForm" action="${ctx }/book_doAdd.do" method="post">
            <fieldset>
            <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
            <p>
              <label>书籍分类：
              <select name="sort_id" class="small-input">
              	<option value="-1">-请选择-</option>
				<c:forEach items="${sortList }" var="s" varStatus="i">
					<option value="${s.id}">${s.name}</option>				
				</c:forEach>
              </select></label>
            <p>
              <label>书籍名称：
              <input class="text-input medium-input datepicker" type="text" id="name" name="name" /></label>
            <p>
              <label>作	者：
              <input class="text-input medium-input" type="text" id="author" name="author" /></label>
            </p>
            <p>
              <label>备	注：
              <textarea class="text-input textarea" id="remark" name="remark" cols="20" rows="5"></textarea></label>
            </p>
            <p>
              <input class="button" type="submit" value="保存" />&nbsp;
              <input class="button" type="button" value="返回" onclick="javascript:location.href='./book_page.do'"/>
            </p>
            </fieldset>
            <div class="clear"></div>
            <!-- End .clear -->
          </form>
        </div>
		<!-- End #tab2 -->

        </div>
        <!-- End #tab1 -->
      </div>
      <!-- End .content-box-content -->
    </div>
    <!-- End .content-box -->
    <div class="clear"></div>
  </div>
</body>
</html>